package win.larryzeal.thymeleaf.entity;

/**
 * Created by 张少昆 on 2018/3/15.
 */
public class User {
    private Integer id;
    private String name;
    private Integer age;

    @Override
    public String toString(){
        return "User{" +
                       "id=" + id +
                       ", name='" + name + '\'' +
                       ", age=" + age +
                       '}';
    }

    public Integer getId(){
        return id;
    }

    public void setId(Integer id){
        this.id = id;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public Integer getAge(){
        return age;
    }

    public void setAge(Integer age){
        this.age = age;
    }
}
